<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"> <style>
	.KEYW {color: #933;}
	.COMM {color: #bbb; font-style: italic;}
	.NUMB {color: #393;}
	.STRN {color: #393;}
	.REGX {color: #339;}
	.line {border-right: 1px dotted #666; color: #666; font-style: normal;}
	</style></head><body><pre><span class='line'>  1</span> <span class="NAME">exports.base</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="KEYW">new</span><span class="WHIT"> </span><span class="NAME">Class</span><span class="PUNC">(</span><span class="COMM">/** @lends CaboCity.t.def.Functions.base# */</span><span class="PUNC">{</span><span class="WHIT">
<span class='line'>  2</span> </span><span class="WHIT">	</span><span class="COMM">/**
<span class='line'>  3</span> 	 * @class Funciones que debe implementar cualquier objeto para definicir acciones de cosas del motor.
<span class='line'>  4</span> 	 * @interface
<span class='line'>  5</span> 	 * @constructs
<span class='line'>  6</span> 	 * */</span><span class="WHIT">
<span class='line'>  7</span> </span><span class="WHIT">	</span><span class="NAME">initialize</span><span class="PUNC">:</span><span class="WHIT"> </span><span class="KEYW">function</span><span class="PUNC">(</span><span class="PUNC">)</span><span class="PUNC">{</span><span class="PUNC">}</span><span class="WHIT">
<span class='line'>  8</span> </span><span class="WHIT">	</span><span class="COMM">/**
<span class='line'>  9</span> 	 * Comprueba que el objeto esté bien-formado.
<span class='line'> 10</span> 	 * @public
<span class='line'> 11</span> 	 * @return {Boolean}
<span class='line'> 12</span> 	 * */</span><span class="WHIT">
<span class='line'> 13</span> </span><span class="WHIT">	</span><span class="PUNC">,</span><span class="NAME">isGoodFormed</span><span class="PUNC">:</span><span class="WHIT"> </span><span class="KEYW">function</span><span class="PUNC">(</span><span class="PUNC">)</span><span class="PUNC">{</span><span class="PUNC">}</span><span class="WHIT">
<span class='line'> 14</span> </span><span class="PUNC">}</span><span class="PUNC">)</span><span class="PUNC">;</span><span class="WHIT">
<span class='line'> 15</span> 
<span class='line'> 16</span> </span><span class="NAME">exports.build</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="KEYW">new</span><span class="WHIT"> </span><span class="NAME">Class</span><span class="PUNC">(</span><span class="COMM">/** @lends CaboCity.t.def.Functions.build# */</span><span class="PUNC">{</span><span class="WHIT">
<span class='line'> 17</span> </span><span class="WHIT">	</span><span class="NAME">Implements</span><span class="PUNC">:</span><span class="WHIT"> </span><span class="NAME">exports.base</span><span class="WHIT">
<span class='line'> 18</span> </span><span class="WHIT">	</span><span class="COMM">/**
<span class='line'> 19</span> 	 * @class Objeto de definición de acciones para builds
<span class='line'> 20</span> 	 * @constructs
<span class='line'> 21</span> 	 * @implements CaboCity.t.def.Functions.base
<span class='line'> 22</span> 	 * 
<span class='line'> 23</span> 	 * @borrows CaboCity.t.def.Functions.base#isGoodFormed as #isGoodFormed
<span class='line'> 24</span> 	 * 
<span class='line'> 25</span> 	 * @param {CaboCity.t.def.Functions.build#checkParams} [checkParams=CaboCity.t.TrueFunc] Check if the params are corrects.
<span class='line'> 26</span> 	 * @param {CaboCity.t.def.Functions.build#checkBuildPosibility} [checkBuildPosibility=CaboCity.t.TrueFunc] Checks for game-client part.
<span class='line'> 27</span> 	 * @param {CaboCity.t.def.Functions.build#build} build Execs when "checkBuildPosibility()" function return **true**.
<span class='line'> 28</span> 	 * 	After build it execute this.
<span class='line'> 29</span> 	 * @param {CaboCity.t.def.Functions.build#notBuild} notBuild Execs when "checkBuildPosibility()" function return **false**.
<span class='line'> 30</span> 	 * */</span><span class="WHIT">
<span class='line'> 31</span> </span><span class="WHIT">	</span><span class="PUNC">,</span><span class="NAME">initialize</span><span class="PUNC">:</span><span class="WHIT"> </span><span class="KEYW">function</span><span class="PUNC">(</span><span class="NAME">checkParams</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="NAME">checkBuildPosibility</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="NAME">build</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="NAME">notBuild</span><span class="PUNC">)</span><span class="PUNC">{</span><span class="PUNC">}</span><span class="WHIT">
<span class='line'> 32</span> 
<span class='line'> 33</span> </span><span class="WHIT">	</span><span class="PUNC">,</span><span class="NAME">isGoodFormed</span><span class="PUNC">:</span><span class="WHIT"> </span><span class="KEYW">function</span><span class="PUNC">(</span><span class="PUNC">)</span><span class="PUNC">{</span><span class="WHIT">
<span class='line'> 34</span> </span><span class="WHIT">		</span><span class="COMM">//TODO</span><span class="WHIT">
<span class='line'> 35</span> </span><span class="WHIT">	</span><span class="PUNC">}</span><span class="WHIT">
<span class='line'> 36</span> </span><span class="WHIT">	
<span class='line'> 37</span> 	</span><span class="COMM">/**
<span class='line'> 38</span> 	 * Check if the params are corrects.
<span class='line'> 39</span> 	 * @name CaboCity.t.def.Functions.build#checkParams
<span class='line'> 40</span> 	 * @function
<span class='line'> 41</span> 	 * 
<span class='line'> 42</span> 	 * @param {TODOcommandArguments} argm
<span class='line'> 43</span> 	 * @return {Boolean}
<span class='line'> 44</span> 	 * */</span><span class="WHIT">
<span class='line'> 45</span> </span><span class="WHIT">	</span><span class="COMM">/**
<span class='line'> 46</span> 	 * Checks for game-client part.
<span class='line'> 47</span> 	 * @name CaboCity.t.def.Functions.build#checkBuildPosibility
<span class='line'> 48</span> 	 * @function
<span class='line'> 49</span> 	 * 
<span class='line'> 50</span> 	 * @param {TODOcommandArguments} argm
<span class='line'> 51</span> 	 * @return {Boolean}
<span class='line'> 52</span> 	 * */</span><span class="WHIT">
<span class='line'> 53</span> </span><span class="WHIT">	</span><span class="COMM">/**
<span class='line'> 54</span> 	 * Execs when "checkBuildPosibility()" function return **true**.
<span class='line'> 55</span> 	 * 	After build the build it'll be executed.
<span class='line'> 56</span> 	 * @name CaboCity.t.def.Functions.build#build
<span class='line'> 57</span> 	 * @function
<span class='line'> 58</span> 	 * 
<span class='line'> 59</span> 	 * @param {TODOcommandArguments} argm
<span class='line'> 60</span> 	 * @return {Boolean}
<span class='line'> 61</span> 	 * */</span><span class="WHIT">
<span class='line'> 62</span> </span><span class="WHIT">	</span><span class="COMM">/**
<span class='line'> 63</span> 	 * Execs when "checkBuildPosibility()" function return **false**.
<span class='line'> 64</span> 	 * @name CaboCity.t.def.Functions.build#notBuild
<span class='line'> 65</span> 	 * @function
<span class='line'> 66</span> 	 * 
<span class='line'> 67</span> 	 * @param {TODOcommandArguments} argm
<span class='line'> 68</span> 	 * @return {Boolean}
<span class='line'> 69</span> 	 * */</span><span class="WHIT">
<span class='line'> 70</span> </span><span class="PUNC">}</span><span class="PUNC">)</span><span class="PUNC">;</span><span class="WHIT">
<span class='line'> 71</span> 
<span class='line'> 72</span> </span><span class="NAME">exports.body</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="KEYW">new</span><span class="WHIT"> </span><span class="NAME">Class</span><span class="PUNC">(</span><span class="COMM">/** @lends CaboCity.t.def.Functions.body# */</span><span class="PUNC">{</span><span class="WHIT">
<span class='line'> 73</span> </span><span class="WHIT">	</span><span class="NAME">Implements</span><span class="PUNC">:</span><span class="WHIT"> </span><span class="NAME">CaboCity.t.def.Functions.base</span><span class="WHIT">
<span class='line'> 74</span> </span><span class="WHIT">	</span><span class="COMM">/**
<span class='line'> 75</span> 	 * @class Objeto para definir las acciones para la definición de bodys.
<span class='line'> 76</span> 	 * @constructs
<span class='line'> 77</span> 	 * @implements CaboCity.t.def.Functions.base
<span class='line'> 78</span> 	 * 
<span class='line'> 79</span> 	 * @borrows CaboCity.t.def.Functions.base#isGoodFormed as #isGoodFormed
<span class='line'> 80</span> 	 * */</span><span class="WHIT">
<span class='line'> 81</span> </span><span class="WHIT">	</span><span class="PUNC">,</span><span class="NAME">initialize</span><span class="PUNC">:</span><span class="WHIT"> </span><span class="KEYW">function</span><span class="PUNC">(</span><span class="PUNC">)</span><span class="PUNC">{</span><span class="WHIT">
<span class='line'> 82</span> </span><span class="WHIT">		
<span class='line'> 83</span> 	</span><span class="PUNC">}</span><span class="WHIT">
<span class='line'> 84</span> </span><span class="PUNC">}</span><span class="PUNC">)</span><span class="PUNC">;</span></pre></body></html>